package com.gadgets.framework.fm03.service;

import com.gadgets.framework.common.dto.Pagination;
import com.gadgets.framework.common.exception.GadgetsException;
import com.gadgets.framework.fm03.dto.BusiNodeQueryDTO;
import com.gadgets.framework.fm03.pojo.BusiNodeInfo;

import java.util.List;

/**
 * @author xiujunqing
 * @version V1.0.0
 * @data 2021-10-14
 * @moduel com.gadgets.framework.fm03.service
 */
public interface IBusiNodeManagerService {

    /**
     * 新增流程节点信息
     * @param busiNodeInfo          节点信息
     * @throws GadgetsException     异常信息
     */
	void addBusiNodeInfo(BusiNodeInfo busiNodeInfo) throws GadgetsException;

    /**
     * 条件查询节点信息
     * @param queryDTO              查询条件
     * @param pagination            分页条件
     * @return                      查询结果
     * @throws GadgetsException     异常信息
     */
	List<BusiNodeInfo> selectBusiNodeByCondition(BusiNodeQueryDTO queryDTO, Pagination pagination) throws GadgetsException;

}
